<li id="li${idSubTab}" class="${subTabClass}"><a href="#${idSubTab}">${titulo}</a><span></span></li>
	    
<div id="aux2">
    <div id="${idSubTab}" class="${bodyClass}" >
		    
    	${corpoTab}
		        
    </div>
</div>

<script type="text/javascript">

	var delet = "${delete}";
	var idTabs = "${idTabs}";
	var liId = "li${idSubTab}";

	if(delet === 'true'){
		$('#'+liId+ ' span').addClass('delete ui-icon ui-icon-circle-close');
	}

	var conteudo = $("#aux2").html();
	$("#aux2").remove();
	$("#"+idTabs).append(conteudo);	
		

</script>